package com.hyt.it.ogt.kq.service.bm.model.vo;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.util.List;

@ApiModel(value = "UserPermissionVo", description = "用户数据权限vo")
@Data
public class UserPermissionVo {

    @NotBlank(message = "无效的项目")
    private String projectId;

    @Size(message = "缺少绑定的目标用户", min = 1)
    private List<String> userList;

    @Size(message = "缺少绑定的目标区域", min = 1)
    private List<String> optionList;
}
